<html>
<head>
    <style>
        select { width: 70px; }
    </style>
</head>
<body>
    <p>
        Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=13775">http://bugs.webkit.org/show_bug.cgi?id=13775</a>
        REGRESSION: Popup button text should use "natural" directionality to match the items in the popup menu</i>.
    </p>
    <p>
        In all of the popup buttons below, the letter A should be on the left and the letter &#x05d0; should be on the right.
    </p>
    <div style="direction: ltr;">
        <div style="text-align: left;">
            <select><option>&#x05d0;A</option></select>
            <select><option>A&#x05d0;</option></select>
            <select><option>(&#x05d0;A</option></select>
            <select><option>(A&#x05d0;</option></select>
        </div>
        <div style="text-align: right;">
            <select><option>&#x05d0;A</option></select>
            <select><option>A&#x05d0;</option></select>
            <select><option>(&#x05d0;A</option></select>
            <select><option>(A&#x05d0;</option></select>
        </div>
    </div>
    <div style="direction: rtl;">
        <div style="text-align: left;">
            <select><option>&#x05d0;A</option></select>
            <select><option>A&#x05d0;</option></select>
            <select><option>(&#x05d0;A</option></select>
            <select><option>(A&#x05d0;</option></select>
        </div>
        <div style="text-align: right;">
            <select><option>&#x05d0;A</option></select>
            <select><option>A&#x05d0;</option></select>
            <select><option>(&#x05d0;A</option></select>
            <select><option>(A&#x05d0;</option></select>
        </div>
    </div>
</body>
</html>
